function loadFont() {
    //英文
    wx.loadFontFace({
      family: 'pf-me', //设置一个font-family使用的名字
      source: 'url("https://hxma.oss-cn-shanghai.aliyuncs.com/app/PINGFANG-MEDIUM.TTF")', //字体资源的地址
      success: console.log
    })
    //中文
    wx.loadFontFace({
      family: 'pf',
      source: 'url("https://hxma.oss-cn-shanghai.aliyuncs.com/app/PINGFANG-REGULAR.TTF")',
      success: console.log
    })
  }
  module.exports = {
    loadFont
  }